from google.appengine.ext import db
from appengine_django.models import BaseModel

class Note(BaseModel):
	title = db.StringProperty(required=False)
	content = db.TextProperty()
	user = db.UserProperty(required=False)
	created = db.DateTimeProperty(auto_now_add=True)
	last_updated = db.DateTimeProperty(auto_now=True)

class Person(db.Expando):
	name = db.StringProperty()	
  
class Tag(BaseModel):
	title = db.StringProperty()